package cn.com.yunhe.bean;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 主贴
 * </p>
 *
 * @author wjt
 * @since 2019-01-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class CBbsTopic implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer cTid;

    /**
     * 板块id
     */
    private Integer cPid;

    /**
     * 发帖人id
     */
    private Integer cUid;

    /**
     * 发帖人名字
     */
    private String cUname;

    /**
     * 主贴名字
     */
    private String cTname;

    /**
     * 发帖时间
     */
    private LocalDateTime cTdate;

    /**
     * 主贴备用
     */
    private String cTby;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getcTid() {
        return cTid;
    }

    public void setcTid(Integer cTid) {
        this.cTid = cTid;
    }

    public Integer getcPid() {
        return cPid;
    }

    public void setcPid(Integer cPid) {
        this.cPid = cPid;
    }

    public Integer getcUid() {
        return cUid;
    }

    public void setcUid(Integer cUid) {
        this.cUid = cUid;
    }

    public String getcUname() {
        return cUname;
    }

    public void setcUname(String cUname) {
        this.cUname = cUname;
    }

    public String getcTname() {
        return cTname;
    }

    public void setcTname(String cTname) {
        this.cTname = cTname;
    }

    public LocalDateTime getcTdate() {
        return cTdate;
    }

    public void setcTdate(LocalDateTime cTdate) {
        this.cTdate = cTdate;
    }

    public String getcTby() {
        return cTby;
    }

    public void setcTby(String cTby) {
        this.cTby = cTby;
    }
}
